<%--
  Created by IntelliJ IDEA.
  User: 顾云飞
  Date: 2020/6/24
  Time: 19:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>注册</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>

</head>
<body>
<samp>${msg}</samp>
<form  action="${pageContext.request.contextPath}/user/add" method="post">
    <div style="text-align: center;width: 800px;margin: 200px 0px 0px 540px ">
    <div class="form-row">
        <div class="form-group col-md-6">
            <label for="inputEmail4">用户名:</label>
            <input type="text" class="form-control" id="inputEmail4" name="name">
        </div>
    </div>
    <div class="form-row">
        <div class="form-group col-md-6">
            <label for="inputPassword4">密码:</label>
            <input type="password" class="form-control" id="inputPassword4" name="password">
        </div>
    </div>
    <div class="form-row">
        <div class="form-group col-md-6">
            <label for="inputPassword4">年纪:</label>
            <input type="text" class="form-control" id="inputPassword3" name="age">
        </div>
    </div>
    <div class="form-row">
        <div class="form-group col-md-6">
            <label for="inputCity">性别:</label>
            <input type="text" class="form-control" id="inputCity" name="gender">
        </div>
    </div>
    </div>
    <div style="margin-left: 700px"><button type="submit" class="btn btn-primary">注册</button></div>
</form>

</body>
</html>
